package blueq.entity.mongo;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="data_table")
public class AppInfo {
	@Id
	private String id;
	private String second_cat;
	private String app_name;
	private String app_desc;
	private String app_data_install;
	private String first_cat;
	private String app_icon_url;
	private String app_download_url;
	private String date;
	private String third_cat;
	private String app_size;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getSecond_cat() {
		return second_cat;
	}
	public void setSecond_cat(String second_cat) {
		this.second_cat = second_cat;
	}
	public String getApp_name() {
		return app_name;
	}
	public void setApp_name(String app_name) {
		this.app_name = app_name;
	}
	public String getApp_desc() {
		return app_desc;
	}
	public void setApp_desc(String app_desc) {
		this.app_desc = app_desc;
	}
	public String getApp_data_install() {
		return app_data_install;
	}
	public void setApp_data_install(String app_data_install) {
		this.app_data_install = app_data_install;
	}
	public String getFirst_cat() {
		return first_cat;
	}
	public void setFirst_cat(String first_cat) {
		this.first_cat = first_cat;
	}
	public String getApp_icon_url() {
		return app_icon_url;
	}
	public void setApp_icon_url(String app_icon_url) {
		this.app_icon_url = app_icon_url;
	}
	public String getApp_download_url() {
		return app_download_url;
	}
	public void setApp_download_url(String app_download_url) {
		this.app_download_url = app_download_url;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getThird_cat() {
		return third_cat;
	}
	public void setThird_cat(String third_cat) {
		this.third_cat = third_cat;
	}
	public String getApp_size() {
		return app_size;
	}
	public void setApp_size(String app_size) {
		this.app_size = app_size;
	}
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("{\n");
		sb.append("id : ").append(id).append("\n");
		sb.append("second_cat : ").append(second_cat).append("\n");
		sb.append("app_name : ").append(app_name).append("\n");
		sb.append("app_desc : ").append(app_desc).append("\n");
		sb.append("app_data_install : ").append(app_data_install).append("\n");
		sb.append("first_cat : ").append(first_cat).append("\n");
		sb.append("app_icon_url : ").append(app_icon_url).append("\n");
		sb.append("app_download_url : ").append(app_download_url).append("\n");
		sb.append("date : ").append(date).append("\n");
		sb.append("third_cat : ").append(third_cat).append("\n");
		sb.append("app_size : ").append(app_size).append("\n");
		sb.append("}\n");
		return sb.toString();
	}

}
